package mapper;

import entity.Usermenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsermenuMapper {

    List<Usermenu> getUserMenu(@Param("orderNumber") String OrderNumber, @Param("currentPage") int currentPage, @Param("pageCount") int pageCount);

    int getMenuCount(String orderNumber);

    int insert(Usermenu record);

    int insertlist(@Param("usermenus") List<Usermenu> usermenus);

    int insertSelective(Usermenu record);
}